package cn.zymall.common.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author xuxianda
 * @Description: 秒杀商品与Sku，Spu关系实体类
 * @date 2020/8/24 21:40
 * @Copyright
 * @return
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
public class SecKillSpuAndUser extends BaseEntity {
    /**
     * 下单用户编号
     */
    private Integer userId;
    /**
     * 抢购秒杀商品编号
     */
    private Integer secKillSpuId;
    /**
     * 抢购的规格编号
     */
    private Integer secKillSkuId;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 下单时间
     */
    private Date ordersTime;


}
